package cn.edu.sdjzu.xg11.service;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.sdjzu.xg11.dao.ProjectCategoryDao;
import cn.edu.sdjzu.xg11.domain.ProjectCategory;

@Service
public class ProjectCategoryService {
	@Autowired
	private ProjectCategoryDao projectCategoryDao;  
	
	public Collection<ProjectCategory> getProjectCategories(){
		return projectCategoryDao.getProjectCategories();		
	}
	public ProjectCategory getProjectCategory(Integer id){
		return projectCategoryDao.getProjectCategory(id);
	}
}
